package com.qianxiwitmanagement.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qianxi.wit.pojo.TbAdvertising;
import com.qianxi.wit.pojo.TbConsult;
import com.qianxi.wit.pojo.TbDoctor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("qianxiwit-service")
public interface TbAdvertisingService {

    @GetMapping("/register/{page}/{size}")
    Page<TbAdvertising> register(@PathVariable("page") int page,
                                 @PathVariable("size") int size);
}
